package com.niit.chapter02.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yaojianfeng
 */
@RestController
@RequestMapping("/chapter02")
public class HelloWorldController {
    @RequestMapping("/hello")
    public String test() {
        return "Hello World!";
    }
}
